 /****** Object:  Stored Procedure BulkOrdersGet    Script Date: Thursday, December 28, 2006 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spBulkOrdersCheckUniqueBONo]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [spBulkOrdersCheckUniqueBONo]
GO

CREATE PROCEDURE spBulkOrdersCheckUniqueBONo
	@Owner int,
	@BONo varchar(6)
AS

SELECT
	COUNT(*)
FROM
	[BulkOrders]
WHERE
	[Owner] = @Owner
AND BONo = @BONo

GO
	

	
